package com.bdsoft.actions.UserManage.Service;

import com.bdsoft.actions.UserManage.DTO.UserDTO;
import com.github.pagehelper.PageInfo;
import org.springframework.web.bind.annotation.RequestParam;


import java.util.Map;

public interface UserService {
    PageInfo<Map<String,Object>> getUserTree(int pageNum, int pageSize, String id, String userName,String status,String nickName);

    Map<String,Object> saveOrUpdateUser(UserDTO userDTO);

     Map<String,Object> deleteUserById(String userId);

     Map<String,Object>allocateRole(String userId, String roleId);
     Map<String,Object>getRoleByRole(String userId);
    Map<String,Object> setDepartment(String userId, String departMentId);


}
